package main.java.jdk8;

import java.util.Arrays;
import java.util.function.Consumer;

public class StaticMethodTest {
	public static void main(String[] args) {
		test2();
	}

	private static void test2() {
		Consumer<String[]> b2 = Arrays::sort;
		String[] strArr = { "11", "1" };
		b2.accept(strArr);
		System.out.println(Arrays.deepToString(strArr));
	}
}
